//
// Created by 原帅 on 2022/10/6.
//

#ifndef R_RPROCUNIT_H
#define R_RPROCUNIT_H

#include "RInitProcIF.h"
#include "RProcIF.h"
#include "RFinProcIF.h"

class RProcUnitRegisterIF;

class RProcUnit : public RInitProcIF, public RProcIF, public RFinProcIF{

public:
    RProcUnit();

    RProcUnit(RProcUnitRegisterIF& serverRegisterIf);

    virtual int initProcess(int argc, char **argv)=0;

    virtual int process()=0;

    virtual int finProc()=0;

    virtual int registerProcUnit(RProcUnitRegisterIF& serverRegisterIf);


};


#endif //R_RPROCUNIT_H
